- 
		Home
	
 
	- 
Table Rate Shipping Method for WooCommerce by Flexible Shipping
 
- 
4.24.4
 
- 
Code
 
- 
Classes
 
-  CostsCalculator 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											17 | 
										
																			
											| Dependencies | 
											13 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											246 | 
										
																			
											| Lines of code | 
											94 | 
										
																			
											| Logical lines of code | 
											53 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											94 | 
										
																			
											| Methods | 
											9 | 
										
																			
											| Properties | 
											12 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 9
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| calculate_cost() | 
									A  | 
																	45 | 
													7 | 
													42 | 
							
					
				| prepare_rules() | 
									S  | 
																	60 | 
													2 | 
													15 | 
							
					
				| sum_calculation() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| __construct() | 
									S  | 
																	61 | 
													1 | 
													12 | 
							
					
				| process_rules() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| get_rules_settings() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| calculate_weight_rounding_precision() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| get_calculated_cost() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| is_triggered() | 
									S  | 
																	82 | 
													1 | 
													3 |